/**
 Ceated by Amit Mudgal (MicroStrategy Principal Designer) for GMS on 6/20/2014
 *
 */
package com.amex.uam.tasks;

import java.lang.reflect.Method;
import java.sql.Timestamp;

public class UserProfile {

	private String WORKFORCE_MBR_ID;
	private String USER_ADMIN_STA_CD;
	private String USER_STA_CD;
	private int USER_GRP_ID;
	private String USER_TYPE_CD;
	private String COST_CTR_CD;
	private String DEPT_ID;
	private String AMEX_BUS_CD;
	private String USER_ACSS_TYPE_CD;
	private String USER_ID;
	private String USER_1ST_NM;
	private String USER_LST_NM;
	private String USER_MI_TX;
	private String USER_EMAIL_AD_TX;
	private String USER_CMPL_PHONE_NO;
	private String WORKFORCE_MBR_MAN_1ST_NM;
	private String WORKFORCE_MBR_MAN_LST_NM;
	private String WORKFORCE_MBR_MAN_MI_TX;
	private String WORKFORCE_MBR_MAN_EMAIL_AD_TX;
	private String VP_NM;
	private String ACSS_RSN_TX;
	private String USER_ACSS_REJCT_RSN_TX;
	private Timestamp NDA_TS;
	private String WORKFORCE_MBR_CLASS_CD;
	private Timestamp SEC_XCPT_END_DT;
	private String AMEX_UNIT_CD;
	private Timestamp LST_LOGIN_TS; // The last login time
	private Timestamp CREAT_TS;// user profile created time
	private Timestamp LST_UPDT_TS;// user profile last updated time
	private String GEO_ACSS_LVL_CD;
	private int FUNC_GRP_ROLE_ID;
	private String CLM_GLBL_ACS_IN;
	private String LIF_GLBL_ACS_IN;
	
	@Override
	public String toString() {
		StringBuffer buffer = new StringBuffer();
		try {
			Method[] ms = this.getClass().getDeclaredMethods();

			for (Method method : ms) {
				// System.out.println(method.getReturnType() + " " + method.getName()+"()");
				// System.out.println();
				
				if(method.getName().startsWith("get") && method.getName().length() > 3) {
					Object obj = method.invoke(this);
					String n = method.getName().substring(3);
					
					buffer.append("  ");
					buffer.append(n);
					buffer.append(':');
					buffer.append(obj);
					buffer.append('\n');
				}
			}
			//this.getClass().getDeclaredMethod("a2222", String.class, String.class);
			//Method m = this.getClass().getDeclaredMethod("setWORKFORCE_MBR_ID", String.class);
			//m.setAccessible(true); 
			//m.invoke(this);
		} catch (Exception e) {
			e.printStackTrace();
		}
		buffer.insert(0, "UserProfile {\n").append("}");
		return buffer.toString();
	}

	public String getWORKFORCE_MBR_ID() {
		return WORKFORCE_MBR_ID;
	}

	public void setWORKFORCE_MBR_ID(String wORKFORCE_MBR_ID) {
		WORKFORCE_MBR_ID = wORKFORCE_MBR_ID;
	}

	public String getUSER_ADMIN_STA_CD() {
		return USER_ADMIN_STA_CD;
	}

	public void setUSER_ADMIN_STA_CD(String uSER_ADMIN_STA_CD) {
		USER_ADMIN_STA_CD = uSER_ADMIN_STA_CD;
	}

	public String getUSER_STA_CD() {
		return USER_STA_CD;
	}

	public void setUSER_STA_CD(String uSER_STA_CD) {
		USER_STA_CD = uSER_STA_CD;
	}

	public int getUSER_GRP_ID() {
		return USER_GRP_ID;
	}

	public void setUSER_GRP_ID(int uSER_GRP_ID) {
		USER_GRP_ID = uSER_GRP_ID;
	}

	public String getUSER_TYPE_CD() {
		return USER_TYPE_CD;
	}

	public void setUSER_TYPE_CD(String uSER_TYPE_CD) {
		USER_TYPE_CD = uSER_TYPE_CD;
	}

	public String getCOST_CTR_CD() {
		return COST_CTR_CD;
	}

	public void setCOST_CTR_CD(String cOST_CTR_CD) {
		COST_CTR_CD = cOST_CTR_CD;
	}

	public String getDEPT_ID() {
		return DEPT_ID;
	}

	public void setDEPT_ID(String dEPT_ID) {
		DEPT_ID = dEPT_ID;
	}

	public String getAMEX_BUS_CD() {
		return AMEX_BUS_CD;
	}

	public void setAMEX_BUS_CD(String aMEX_BUS_CD) {
		AMEX_BUS_CD = aMEX_BUS_CD;
	}

	public String getUSER_ACSS_TYPE_CD() {
		return USER_ACSS_TYPE_CD;
	}

	public void setUSER_ACSS_TYPE_CD(String uSER_ACSS_TYPE_CD) {
		USER_ACSS_TYPE_CD = uSER_ACSS_TYPE_CD;
	}

	public String getUSER_ID() {
		return USER_ID;
	}

	public void setUSER_ID(String uSER_ID) {
		USER_ID = uSER_ID;
	}

	public String getUSER_1ST_NM() {
		return USER_1ST_NM;
	}

	public void setUSER_1ST_NM(String uSER_1ST_NM) {
		USER_1ST_NM = uSER_1ST_NM;
	}

	public String getUSER_LST_NM() {
		return USER_LST_NM;
	}

	public void setUSER_LST_NM(String uSER_LST_NM) {
		USER_LST_NM = uSER_LST_NM;
	}

	public String getUSER_MI_TX() {
		return USER_MI_TX;
	}

	public void setUSER_MI_TX(String uSER_MI_TX) {
		USER_MI_TX = uSER_MI_TX;
	}

	public String getUSER_EMAIL_AD_TX() {
		return USER_EMAIL_AD_TX;
	}

	public void setUSER_EMAIL_AD_TX(String uSER_EMAIL_AD_TX) {
		USER_EMAIL_AD_TX = uSER_EMAIL_AD_TX;
	}

	public String getUSER_CMPL_PHONE_NO() {
		return USER_CMPL_PHONE_NO;
	}

	public void setUSER_CMPL_PHONE_NO(String uSER_CMPL_PHONE_NO) {
		USER_CMPL_PHONE_NO = uSER_CMPL_PHONE_NO;
	}

	public String getWORKFORCE_MBR_MAN_1ST_NM() {
		return WORKFORCE_MBR_MAN_1ST_NM;
	}

	public void setWORKFORCE_MBR_MAN_1ST_NM(String wORKFORCE_MBR_MAN_1ST_NM) {
		WORKFORCE_MBR_MAN_1ST_NM = wORKFORCE_MBR_MAN_1ST_NM;
	}

	public String getWORKFORCE_MBR_MAN_LST_NM() {
		return WORKFORCE_MBR_MAN_LST_NM;
	}

	public void setWORKFORCE_MBR_MAN_LST_NM(String wORKFORCE_MBR_MAN_LST_NM) {
		WORKFORCE_MBR_MAN_LST_NM = wORKFORCE_MBR_MAN_LST_NM;
	}

	public String getWORKFORCE_MBR_MAN_MI_TX() {
		return WORKFORCE_MBR_MAN_MI_TX;
	}

	public void setWORKFORCE_MBR_MAN_MI_TX(String wORKFORCE_MBR_MAN_MI_TX) {
		WORKFORCE_MBR_MAN_MI_TX = wORKFORCE_MBR_MAN_MI_TX;
	}

	public String getWORKFORCE_MBR_MAN_EMAIL_AD_TX() {
		return WORKFORCE_MBR_MAN_EMAIL_AD_TX;
	}

	public void setWORKFORCE_MBR_MAN_EMAIL_AD_TX(
			String wORKFORCE_MBR_MAN_EMAIL_AD_TX) {
		WORKFORCE_MBR_MAN_EMAIL_AD_TX = wORKFORCE_MBR_MAN_EMAIL_AD_TX;
	}

	public String getVP_NM() {
		return VP_NM;
	}

	public void setVP_NM(String vP_NM) {
		VP_NM = vP_NM;
	}

	public String getACSS_RSN_TX() {
		return ACSS_RSN_TX;
	}

	public void setACSS_RSN_TX(String aCSS_RSN_TX) {
		ACSS_RSN_TX = aCSS_RSN_TX;
	}

	public String getUSER_ACSS_REJCT_RSN_TX() {
		return USER_ACSS_REJCT_RSN_TX;
	}

	public void setUSER_ACSS_REJCT_RSN_TX(String uSER_ACSS_REJCT_RSN_TX) {
		USER_ACSS_REJCT_RSN_TX = uSER_ACSS_REJCT_RSN_TX;
	}

	public Timestamp getNDA_TS() {
		return NDA_TS;
	}

	public void setNDA_TS(Timestamp nDA_TS) {
		NDA_TS = nDA_TS;
	}

	public String getWORKFORCE_MBR_CLASS_CD() {
		return WORKFORCE_MBR_CLASS_CD;
	}

	public void setWORKFORCE_MBR_CLASS_CD(String wORKFORCE_MBR_CLASS_CD) {
		WORKFORCE_MBR_CLASS_CD = wORKFORCE_MBR_CLASS_CD;
	}

	public Timestamp getSEC_XCPT_END_DT() {
		return SEC_XCPT_END_DT;
	}

	public void setSEC_XCPT_END_DT(Timestamp sEC_XCPT_END_DT) {
		SEC_XCPT_END_DT = sEC_XCPT_END_DT;
	}

	public String getAMEX_UNIT_CD() {
		return AMEX_UNIT_CD;
	}

	public void setAMEX_UNIT_CD(String aMEX_UNIT_CD) {
		AMEX_UNIT_CD = aMEX_UNIT_CD;
	}

	public Timestamp getLST_LOGIN_TS() {
		return LST_LOGIN_TS;
	}

	public void setLST_LOGIN_TS(Timestamp lST_LOGIN_TS) {
		LST_LOGIN_TS = lST_LOGIN_TS;
	}

	public Timestamp getCREAT_TS() {
		return CREAT_TS;
	}

	public void setCREAT_TS(Timestamp cREAT_TS) {
		CREAT_TS = cREAT_TS;
	}

	public Timestamp getLST_UPDT_TS() {
		return LST_UPDT_TS;
	}

	public void setLST_UPDT_TS(Timestamp lST_UPDT_TS) {
		LST_UPDT_TS = lST_UPDT_TS;
	}

	public String getGEO_ACSS_LVL_CD() {
		return GEO_ACSS_LVL_CD;
	}

	public void setGEO_ACSS_LVL_CD(String gEO_ACSS_LVL_CD) {
		GEO_ACSS_LVL_CD = gEO_ACSS_LVL_CD;
	}

	public int getFUNC_GRP_ROLE_ID() {
		return FUNC_GRP_ROLE_ID;
	}

	public void setFUNC_GRP_ROLE_ID(int fUNC_GRP_ROLE_ID) {
		FUNC_GRP_ROLE_ID = fUNC_GRP_ROLE_ID;
	}

	public String getCLM_GLBL_ACS_IN() {
		return CLM_GLBL_ACS_IN;
	}

	public void setCLM_GLBL_ACS_IN(String cLM_GLBL_ACS_IN) {
		CLM_GLBL_ACS_IN = cLM_GLBL_ACS_IN;
	}

	public String getLIF_GLBL_ACS_IN() {
		return LIF_GLBL_ACS_IN;
	}

	public void setLIF_GLBL_ACS_IN(String lIF_GLBL_ACS_IN) {
		LIF_GLBL_ACS_IN = lIF_GLBL_ACS_IN;
	}

	
}
